package com.freight.user.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * @author guoys
 * @create 2021/6/5
 */
@Data
@AllArgsConstructor
public class GroupVehicleInfoVo  extends  UserVo{

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    private Long id;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "车队id")
    private Long driverGroupId;

    @ApiModelProperty(value = "车辆id")
    private Long vehicleId;

    @ApiModelProperty(value = "车牌号码")
    private String vehicleNum;

    @ApiModelProperty(value = "车辆所有人")
    private String vehicleOwner;

    @ApiModelProperty(value = "负责人ucid")
    private Long onwerUserId;

    @ApiModelProperty(value = "车型")
    private String vehicleType;

    @ApiModelProperty(value = "车长")
    private String vehicleLength;

    @ApiModelProperty(value = "司机姓名")
    private String driverName;

    @ApiModelProperty(value = "司机手机")
    private String driverPhone;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private String createTime;
}
